/*
 * @Author: TC
 * @Date: 2025-06-06 18:02:04
 * @Last Modified by: TC
 * @Last Modified time: 2025-06-06 18:06:33
 */

import { DEV } from "cc/env";
import { CCParser } from "../Module/Engine/CCParser";
import { CCDownloader } from "../Module/Engine/CCDownloader";

/**
 * 自定义引擎管理器
 */
export class EngineManager {
    //解析器
    private _downloader: CCDownloader = new CCDownloader();
    //下载器
    private _parser: CCParser = new CCParser();

    /**
     * @returns 初始化
     */
    public init() {
        if (DEV) return;
        this._downloader.init();
        this._parser.init();
    }
}
